﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Benefit.Models.Year;
namespace Benefit.Interface.Year
{
    public interface IBatchAvgYear
    {
      

        /// <summary>
        /// 删除当周所有记录
        /// </summary>
        /// <param name="weekId"></param>
        void Delete(int year);

        /// <summary>
        /// 保存月同批次交易员均值
        /// </summary>
        /// <param name="tradeHistoryId">插入时间编号</param>
        /// <param name="pdate">插入时间</param>
        void InitBatchAvgYear(int year);
        /// <summary>
        /// 获取同批次交易员年均值
        /// </summary>
        /// <param name="batchid"></param>
        /// <param name="year"></param>
        /// <param name="db"></param>
        /// <returns></returns>
        BatchAvgYear GetBatchAvgYear(int batchid, int year);


    }
}
